﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace UI.Forms
{
    public partial class Nav : DevExpress.XtraEditors.XtraForm
    {
        public Nav()
        {
            InitializeComponent();
        }

        private void btn_CardIN_Click(object sender, EventArgs e)
        {
            CardINStore frm = new CardINStore();
            frm.MdiParent = my.mainform;
            frm.Show();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            Comm.openForm(simpleButton1.Tag.ToString());
        }

        private void btn_KCSale_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.KCSale");
        }

        private void btn_openCard_Click(object sender, EventArgs e)
        {
            openCard frm = new openCard(null);
            frm.MdiParent = my.mainform;
            frm.Show();
        }

        private void btn_CZ_Click(object sender, EventArgs e)
        {

        }

        private void simpleButton10_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.numberpool_WH");
        }

        private void btn_Card_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.view_card");
        }

        private void btn_phone_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.numberpool");
        }

        private void btn_oc_search_Click(object sender, EventArgs e)
        {
            Comm.openDialogForm("UI.Forms.opencardList",null);
        }

        private void btn_whd_M_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.whd_M");
        }

        private void btn_whd_d_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.View_whd_0");
        }

        private void btn_whd_fk_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.printwhd_fk");
        }

        private void btn_whd_sd_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.whd_FK_Input");
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.whd_d_ld");
        }

        private void btn_whd_search_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.search_whd");
        }

        private void btn_wsd_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.wsd_add");
        }

        private void btn_wsd_ld_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.wsd_2");
        }

        private void btn_wsd_sd_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.wsd_1");
        }

        private void btn_wsd_search_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.wsd_search");
        }

        private void btn_gd_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.gd_input");
        }

        private void btn_gd_search_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.gd_search");
        }

        private void simpleButton16_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.sk");
        }
        /// <summary>
        /// 产品入库
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            Comm.openForm(simpleButton3.Tag.ToString());

        }

        private void simpleButton19_Click(object sender, EventArgs e)
        {

        }

        private void xtraTabPage1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void simpleButton21_Click(object sender, EventArgs e)
        {
            //Comm.openForm("UI.Forms.ProductSale");
            Comm.openForm("UI.Forms.ProductSale_M_List");
        }

        private void simpleButton6_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSale_Check");
        }
        private void simpleButton9_Click(object sender, EventArgs e)
        {
            Comm.openForm(simpleButton9.Tag.ToString());
        }

        private void simpleButton20_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSaleBack_M_List");
        }

        private void simpleButton17_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.fk");
        }

        private void simpleButton7_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSale_DList");
        }

        private void simpleButton8_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSaleList_ByGoods");
        }

        private void simpleButton10_Click_1(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSaleList_ByClient");
        }

        private void simpleButton11_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ProductSaleList_ByEmp");
        }

        private void simpleButton14_Click(object sender, EventArgs e)
        {
            Comm.openForm("UI.Forms.ViewOnhand");
        }
    }
}